-
Home
-
Premium Packages – Sell Digital Products Securely
-
6.0.9
-
Code
-
Classes
- Cart
| Total Complexity |
110 |
| Dependencies |
9 |
| Dependents |
2 |
| Total lines |
647 |
| Lines of code |
459 |
| Logical lines of code |
300 |
| Comment lines |
75 |
| Methods |
35 |
| Properties |
4 |
Methods 35
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| addItem() |
A |
40 |
12 |
55 |
| itemInfo() |
A |
51 |
8 |
22 |
| updateItem() |
S |
53 |
7 |
23 |
| loadSaved() |
S |
53 |
6 |
22 |
| addDynamicItem() |
S |
49 |
5 |
32 |
| getItems() |
S |
57 |
6 |
16 |
| render() |
S |
48 |
5 |
31 |
| getCartPrice() |
S |
51 |
5 |
26 |
| processExtraGigs() |
S |
56 |
5 |
17 |
| cartTotal() |
S |
58 |
5 |
16 |
| applyCoupon() |
S |
54 |
4 |
21 |
| getCoupon() |
S |
62 |
4 |
10 |
| clearCoupon() |
S |
59 |
3 |
14 |
| itemThumb() |
S |
58 |
3 |
14 |
| removeItem() |
S |
61 |
3 |
13 |
| isRecurring() |
S |
62 |
3 |
11 |
| itemLink() |
S |
61 |
3 |
11 |
| calculateTax() |
S |
62 |
3 |
11 |
| clear() |
S |
61 |
2 |
13 |
| getID() |
S |
65 |
2 |
10 |
| gigsCost() |
S |
69 |
2 |
7 |
| __construct() |
S |
100 |
1 |
2 |
| update() |
S |
79 |
1 |
3 |
| lockCart() |
S |
79 |
1 |
3 |
| unlockCart() |
S |
76 |
1 |
4 |
| isLocked() |
S |
79 |
1 |
3 |
| updateCart() |
S |
100 |
1 |
2 |
| save() |
S |
64 |
1 |
9 |
| getRoleDiscount() |
S |
83 |
1 |
3 |
| itemCost() |
S |
62 |
1 |
10 |
| couponDiscount() |
S |
74 |
1 |
4 |
| getTax() |
S |
79 |
1 |
3 |
| isEmpty() |
S |
76 |
1 |
4 |
| onUserLogin() |
S |
66 |
1 |
8 |
| clearAll() |
S |
71 |
1 |
6 |